package com.tedu.parkinglot.parkRecord.service.impl;

import com.tedu.parkinglot.parkRecord.mapper.ParkRecordMapper;
import com.tedu.parkinglot.parkRecord.pojo.dto.ParkRecordQuery;
import com.tedu.parkinglot.parkRecord.pojo.vo.ParkRecordVO;
import com.tedu.parkinglot.parkRecord.service.ParkRecordService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Slf4j
@Service
public class ParkRecordServiceImpl implements ParkRecordService {
    @Autowired
    ParkRecordMapper parkRecordMapper;

    @Override
    public List<ParkRecordVO>selectParkRecord(ParkRecordQuery parkRecordQuery){
        log.debug("parkRecordQuery:",parkRecordQuery);
        List<ParkRecordVO>list=parkRecordMapper.selectParkRecord(parkRecordQuery);
        return list;
    }
}
